package com.irssproject.app.web.action.JSONWrappers;

import java.io.Serializable;
import java.util.List;

import com.irssproject.app.entitats.Feed;

public class FeedJSON implements Serializable {
	
	private static final long serialVersionUID = -9190425351358579413L;

	private String id;
    private String titol;
    private String link;
    private List<TopicJSON> conceptes;
	public FeedJSON(String titol) {
		this.titol = titol;
	}
	public FeedJSON(String titol, String link) {
		this.titol = titol;
		this.link = link;
	}
	public FeedJSON(Feed f) {
		this.titol = f.getTitol();
		this.link = f.getLink();
	}

	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitol() {
		return titol;
	}
	public void setTitol(String titol) {
		this.titol = titol;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public List<TopicJSON> getConceptes() {
		return conceptes;
	}
	public void setConceptes(List<TopicJSON> conceptes ) {
		this.conceptes = conceptes;
	}
    
}
